package cn.iocoder.yudao.module.form.dataobject;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 设备采购对象 form_equipment
 *
 * @author ruoyi
 * @date 2022-07-13
 */
public class FormEquipment extends FormBaseVo
{
    private static final long serialVersionUID = 1L;

    /** 设备采购ID */
    private Long equId;

    /** 设备采购申请人id */
    private Long equUserid;

    /** 设备采购申请人姓名 */
    private String equUsername;

    /** 设备采购名称 */
    private String equName;

    /** 设备采购部门id */
    private String equDeptid;

    /** 设备采购部门 */
    private String equDept;

    /** 设备采购型号 */
    private String equModule;

    /** 设备采购价格 */
    private String equPrice;

    /** 设备采购日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date equDate;

    /** 设备采购数量 */
    private Long equCount;

    /** 设备采购原因 */
    private String equReason;

    /** 动态表单标记位 */
    private Long formid;

    public void setEquId(Long equId)
    {
        this.equId = equId;
    }

    public Long getEquId()
    {
        return equId;
    }
    public void setEquUserid(Long equUserid)
    {
        this.equUserid = equUserid;
    }

    public Long getEquUserid()
    {
        return equUserid;
    }
    public void setEquUsername(String equUsername)
    {
        this.equUsername = equUsername;
    }

    public String getEquUsername()
    {
        return equUsername;
    }
    public void setEquName(String equName)
    {
        this.equName = equName;
    }

    public String getEquName()
    {
        return equName;
    }
    public void setEquDeptid(String equDeptid)
    {
        this.equDeptid = equDeptid;
    }

    public String getEquDeptid()
    {
        return equDeptid;
    }
    public void setEquDept(String equDept)
    {
        this.equDept = equDept;
    }

    public String getEquDept()
    {
        return equDept;
    }
    public void setEquModule(String equModule)
    {
        this.equModule = equModule;
    }

    public String getEquModule()
    {
        return equModule;
    }
    public void setEquPrice(String equPrice)
    {
        this.equPrice = equPrice;
    }

    public String getEquPrice()
    {
        return equPrice;
    }
    public void setEquDate(Date equDate)
    {
        this.equDate = equDate;
    }

    public Date getEquDate()
    {
        return equDate;
    }
    public void setEquCount(Long equCount)
    {
        this.equCount = equCount;
    }

    public Long getEquCount()
    {
        return equCount;
    }
    public void setEquReason(String equReason)
    {
        this.equReason = equReason;
    }

    public String getEquReason()
    {
        return equReason;
    }
    public void setFormid(Long formid)
    {
        this.formid = formid;
    }

    public Long getFormid()
    {
        return formid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("equId", getEquId())
            .append("equUserid", getEquUserid())
            .append("equUsername", getEquUsername())
            .append("equName", getEquName())
            .append("equDeptid", getEquDeptid())
            .append("equDept", getEquDept())
            .append("equModule", getEquModule())
            .append("equPrice", getEquPrice())
            .append("equDate", getEquDate())
            .append("equCount", getEquCount())
            .append("equReason", getEquReason())
            .append("formid", getFormid())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
